import { Component, OnInit } from '@angular/core';
@Component({
	selector: 'app-live-tv',
	templateUrl: './live-tv.component.html',
	styleUrls: ['./live-tv.component.css']
})
export class LiveTvComponent implements OnInit {

	constructor() { }

	ngOnInit(): void {

		// 首页
		// 搜索显示隐藏
		$(function () {
			$("#input1").mousedown(
				function () {
					$(".search_bomb_box").show()
					$("#waik").hide()
				}
			)
			$(".search_bomb_box .search_top>a").mousedown(
				function () {
					$(".search_bomb_box").hide()
					$("#waik").show()
				}
			)
		})

		// 选择城市
		let citypicker;
		$("#citypick").click(function () {
			citypicker();
		});

	}

}
